﻿@model SchoolPointe.RelatedContent.ViewModels.RelatedContentRelationshipViewModel

@{
    string labelText = "";
    switch (Model.RelationType)
    {
        case SchoolPointe.RelatedContent.Enums.RelationType.HasMany:
            labelText = Model.Name + " - Content IDs (comma separated)";
            break;
        case SchoolPointe.RelatedContent.Enums.RelationType.HasOne:
            labelText = Model.Name + " - Content ID";
            break;
    }
}

@Html.LabelFor(m => m.RelatedContentIds, T(labelText))
@Html.TextBoxFor(m => m.RelatedContentIds)